package com.company.cloud.tenant.modules.app.controller;

import com.company.cloud.common.bean.BaseResult;
import com.company.cloud.tenant.modules.app.controller.req.TenantSendVCodeParam;
import com.company.cloud.tenant.modules.app.controller.req.ThirdConfig2PayAddParam;
import com.company.cloud.tenant.modules.app.controller.req.ThirdConfig2UserAddParam;
import com.company.cloud.tenant.modules.app.service.TenantThirdAppConfigService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.log4j.Log4j2;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Log4j2
@RestController
@RequestMapping("/app/t/tenantThird")
@Api(tags="TenantApp_租户三方应用服务")
public class TenantThirdConfigAppController {


    @Autowired
    private TenantThirdAppConfigService tenantThirdAppConfigService;

    @PostMapping("/addPayConfig")
    @ApiOperation(value="新增支付配置（三方）", response= BaseResult.class)
    public BaseResult addPayConfig(@RequestBody ThirdConfig2PayAddParam params) {
        return BaseResult.ok();
    }


    @PostMapping("/editPayConfig")
    @ApiOperation(value="修改支付配置（三方）", response= BaseResult.class)
    public BaseResult editPayConfig(@RequestBody ThirdConfig2PayAddParam params) {
        return BaseResult.ok();
    }

    @PostMapping("/getPayConfig")
    @ApiOperation(value="查看支付配置（三方）", response= BaseResult.class)
    public BaseResult getPayConfig(@RequestBody ThirdConfig2PayAddParam params) {
        return BaseResult.ok();
    }


    @PostMapping("/addThirdUserConfig")
    @ApiOperation(value="新增用户平台配置（三方）", response= BaseResult.class)
    public BaseResult addThirdUserConfig(@RequestBody ThirdConfig2UserAddParam params) {
        return BaseResult.ok();
    }

    @PostMapping("/editThirdUserConfig")
    @ApiOperation(value="修改用户平台配置（三方）", response= BaseResult.class)
    public BaseResult editThirdUserConfig(@RequestBody ThirdConfig2UserAddParam params) {
        return BaseResult.ok();
    }


    @PostMapping("/getThirdUserConfig")
    @ApiOperation(value="查看用户平台配置（三方）", response= BaseResult.class)
    public BaseResult getThirdUserConfig(@RequestBody ThirdConfig2UserAddParam params) {
        return BaseResult.ok();
    }







}
